package com.tengju.bff.interfaces.covercharge.entity.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 乐税个体户注册表
 * </p>
 *
 * @author zhaoyi
 * @since 2020-02-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("w_service_letax_registered")
public class ServiceLetaxRegistered implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 代理id_code
     */
    @TableField("id_code")
    private Long idCode;

    /**
     * 账号id,service_account表的id
     */
    @TableField("account_id")
    private Long accountId;

    /**
     * 户名
     */
    @TableField("idcard_name")
    private String idcardName;

    /**
     * 身份证号码
     */
    @TableField("idcard_no")
    private String idcardNo;

    /**
     * 银行卡号
     */
    @TableField("bank_no")
    private String bankNo;

    /**
     * 开户行名称
     */
    @TableField("bank_name")
    private String bankName;

    /**
     * 申请状态 0待审核 1通过 2拒绝 3终止
     */
    @TableField("status")
    private Integer status;

    /**
     * 审核人id w_admin.id
     */
    @TableField("admin_id")
    private Integer adminId;

    /**
     * 审核理由|拒绝原因
     */
    @TableField("remark")
    private String remark;

    /**
     * 审核时间
     */
    @TableField("check_at")
    private LocalDateTime checkAt;

    /**
     * 创建时间|申请时间
     */
    @TableField("created_at")
    private LocalDateTime createdAt;

    /**
     * 更新时间戳
     */
    @TableField("updated_at")
    private LocalDateTime updatedAt;


}
